{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">
                <div class="box-header with-border">
                    <span class="fa fa-edit" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title">各年级作业补贴设置</p>
                </div>
                <div class="box-body">
                      <table class="table table-bordered table-striped" id="mytable">  
                           <thead> 
                             <tr style=" background-color:#5fb2dc;">
                                <td>年级</td>
                                <td>享受补贴学科</td>
                                <td>任课第一个班补</td>
                                <td>任课第二个班以后班补</td>
                                <td width="150">操作</td>
							 </tr>
                           </thead>
							{%foreach from=$data_lists key=key item=value%}
                             <tr>
                                <td>{%$value.grade_name%}</td>
                                <td>{%$value.work_subject%}</td>
                                <td>{%$value.first_sub%}</td>
                                <td>{%$value.other_sub%}</td>
                                <td>
                                    <a href="index.php?a=pay.workupdate&grade_id={%$key%}" class="btn btn-warning btn-sm" title="设置"><i class="fa fa-edit"></i></a>
                                </td>
							 </tr>
							{%/foreach%}
						 </table>      	   
				    </div><!--box-body --> 
                 </form>
             </div><!--box box-default box-solid-->
          </section>   
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
</html>

